SET(EXECUTABLE_OUTPUT_PATH ${PROJECT_BINARY_DIR}/bin)
SET(LIBRARY_OUTPUT_PATH ${PROJECT_BINARY_DIR}/lib)

AUX_SOURCE_DIRECTORY(./comm DIR_SRC)
AUX_SOURCE_DIRECTORY(./event DIR_SRC)

ADD_LIBRARY(myproxy STATIC ${DIR_SRC})
TARGET_LINK_LIBRARIES(myproxy pthread m)